package com.zzy.demo.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzy.demo.common.enums.SexEnum;
import lombok.Data;



@Data
@TableName("school")
public class School implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	

	@TableId("ID")
    private Long id;

    @TableField("NAME")
    private String name;

    @TableField("SEX")
    private SexEnum sex;

    @TableField("AGE")
    private Integer age;


    @Override
    public String toString() {
        return "School{" +
                "id=" + id +
                ", name='" + name +
                ", age=" + age +
                '}';
    }
}
